<?php
/**
 *      [Discuz!] (C)2001-2099 Comsenz Inc.
 *      This is NOT a freeware, use is subject to license terms
 *
 *      $Id: mapi_control_index.php 3729 2014-01-02 08:34:11Z laoguozhang $
 */

//?c=index&a=1

if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}

class stat_control_index extends stat_base_control
{

	public $siteid;
	public $uin;
	
	public function __construct() {
		parent::__construct();
	}
	
	/**
	 * 默认首页
	 */
	public function action_index() {		
		$a = $this->request()->get_string('a');	
		//$b = DZF::t('test')->fetch(1);
		$b = DZF::t('test')->test();
		$c = DZF::m('test')->test();
		$d = DZF::ext('test')->test();
		$e = DZF::lib('ip')->convertip('201.22.11.1');
		$return = array('a' => $a + 100, 'b' => $b, 'c' => $c, 'd' => $d, 'e' => $e);
		$this->echo_json($return);
	}
	
}
